<?php 
if (file_exists(dirname( __FILE__ ) . '/../wpudata/wpuconf.php')) { include dirname( __FILE__ ) . '/../wpudata/wpuconf.php'; }
if ($taparentid) { $tanavdepth = 1; $tawlpo = 'child_of='.$taparentid.'&exclude='.$taexclude.'&depth='.$tanavdepth.'&title_li=&sort_order=asc&sort_column=menu_order'; 
?>
<ul id="footnav">
<li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_pages($tawlpo); ?>
</ul>
<?php } ?>
